#include "camshift.h"

void camshiftTracking (IplImage* image, CvRect *rect,CvConnectedComp* comp, CvBox2D *box){
	cvCamShift (image,*rect,cvTermCriteria(CV_TERMCRIT_ITER | CV_TERMCRIT_EPS,20,0.3),comp,box);
	*rect = comp->rect;
}